package RedPacket;

import java.util.ArrayList;

public class User {
    private String name ;
    private float money ;

    public User(String name,float money){
        this.name = name;
        this.money = money;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;

    }

    public float getMoney(){
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }


    //showMoney
    public void show(){
        System.out.println(name + " " + money);
    }


}
